// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

mod error;
mod utils;
mod conn;


fn main() {
    tauri::Builder::default()
        .invoke_handler(tauri::generate_handler![
            conn::active_ports,
            conn::open_port,
            conn::write_port,
            conn::is_port_open,
            conn::close_port
        ])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}
